const Mock = require('mockjs')
const fs = require('fs')

const { list, menu } = Mock.mock({
	"menu|10": [{
		"image": "@image(100x100, @color)",
		"title": "@ctitle"
	}]
})
const data = JSON.stringify(menu).replace(/},{/g, '}{').replace(/[\[\]]/g, '')


fs.writeFileSync('menu.json', data)

